#include "FoodCountException.h"

using namespace std;

CFoodCountException::CFoodCountException(int foodCount)
{
	this->foodCount = foodCount;
}


const char* CFoodCountException::what() const throw() {
	return "Food count is to low to survive and there are no more ants left!";

}

int CFoodCountException::getFoodCount()
{
	return foodCount;
}
